#ifndef BULLETOBJECT_H_
#define BULLETOBJECT_H_
#include "../baseclass/Elem3D.h"
#include "../spec/DustObject.h"
#include "../spec/WorldObject.h"
#include "../spec/TargetObject.h"

class BulletObject : Elem3D
{
        //per il movimento
    double dx;
    double dz;
    float dy;
    float vel; //velocità del missile
    bool inizio;
    static int bullet_name; //nome lista
    static bool compiled; 
    
public:
    bool visible;
	BulletObject();
    BulletObject(GameStatus* g): Elem3D(g){}
	virtual ~BulletObject();

    void SetPosDirection(float x, float y, float z, float angY);
    void LoadLists();
    void DoIdle();
    void Init();
    void Draw();
    void Generate_Dust(float x,float y,float z);

};

#endif /*BULLETOBJECT_H_*/
